import { FC } from 'react';
import styles from './index.less';

const BannerFC: FC<any> = (props: any) => {
  const { property } = props;
  const { comProperty } = property;
  return (
    <div
      className={styles.ztBanner}
      style={{
        background: `url(${comProperty.imgUrl}) no-repeat center top`,
      }}
    ></div>
  );
};

export default BannerFC;
